package core;

public class TableRawData {
	private int m_gameID;;
	private String m_title = null;
	private double m_rating;
	private int m_rank;
	private float m_b_average;
	private String m_designer = null;
	private int m_year;
	private int m_min;
	private int m_max;
	private int m_time;
	private Object[] m_rawdata = null;
	public final static int COLUMN_NUM = 10;
	
	TableRawData(){
		m_rawdata = new Object[COLUMN_NUM];
	}
	public Object[] getRawData(){
		m_rawdata[0] = new Integer(Integer.valueOf(m_gameID));
		m_rawdata[1] = m_title;
		m_rawdata[2] = new Double(Double.valueOf(m_rating));
		m_rawdata[3] = new Integer(Integer.valueOf(m_rank));
		m_rawdata[4] = new Float(Float.valueOf(m_b_average));
		m_rawdata[5] = m_designer;
		m_rawdata[6] = new Integer(Integer.valueOf(m_year));
		m_rawdata[7] = new Integer(Integer.valueOf(m_min));
		m_rawdata[8] = new Integer(Integer.valueOf(m_max));
		m_rawdata[9] = new Integer(Integer.valueOf(m_time));
		return m_rawdata;
	}	
	public void setGameID(int value){
		m_gameID = value;
	}
	public void setTitle(String value){
		m_title = value;
	}
	public void setRating(double value){
		m_rating = value;
	}
	public void setRank(int value){
		m_rank = value;
	}
	public void setBayesAverage(float value){
		m_b_average = value;
	}
	public void setDesigner(String value){
		m_designer = value;
	}
	public void setYear(int value){
		m_year = value;
	}
	public void setMin(int value){
		m_min = value;
	}
	public void setMax(int value){
		m_max = value;
	}
	public void setTime(int value){
		m_time = value;
	}

}
